package com.lagou.module2.task2;

public abstract class Plan {
    private double total_month_fee;

    public double getTotal_month_fee() {
        return total_month_fee;
    }

    public void setTotal_month_fee(double data_fee, double call_fee) {
        if (data_fee>0 && call_fee>0){
            total_month_fee = data_fee+call_fee;
        }else
        {System.out.println("请输入正确的费用");}
    }
}
